import Mock from 'mockjs'

Mock.mock("/list",{
    "list|10":[{
        img:"@image(100x100,@color)",
        title:"@ctitle(3,5)",
        "price|50-100":0,
    }]
})

Mock.mock("/fenlei",{
    "list|10":[
        {
            title:"@ctitle(2,5)",
            "children|10":[{
                img:"@image(100x100,@color)",
                title:"@ctitle(3,5)",
                "price|50-100":0,
            }]
        }
    ]
})